package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_activity_treasure_find")
public class LogTreasureFind {

    @FieldTypeAnnotation(desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID")
    private long userId;
    @FieldTypeAnnotation(desc = "次数")
    private int times;
    @FieldTypeAnnotation(desc = "总步数")
    private int totalStep;
    @FieldTypeAnnotation(desc = "每次步数")
    private List<Integer> stepList;
    @FieldTypeAnnotation(desc = "经过大地点")
    private List<Integer> placeList;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "进度")
    private int routeIndex;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogTreasureFind(int activityId, long userId, int times, int totalStep, List<Integer> stepList, List<Integer> placeList, String reward, int routeIndex) {
        this.activityId = activityId;
        this.userId = userId;
        this.times = times;
        this.totalStep = totalStep;
        this.stepList = stepList;
        this.placeList = placeList;
        this.reward = reward;
        this.routeIndex = routeIndex;
        this.time = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public long getUserId() {
        return userId;
    }

    public int getTimes() {
        return times;
    }

    public int getTotalStep() {
        return totalStep;
    }

    public List<Integer> getStepList() {
        return stepList;
    }

    public List<Integer> getPlaceList() {
        return placeList;
    }

    public String getReward() {
        return reward;
    }

    public int getRouteIndex() {
        return routeIndex;
    }

    public Date getTime() {
        return time;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public void setTotalStep(int totalStep) {
        this.totalStep = totalStep;
    }

    public void setStepList(List<Integer> stepList) {
        this.stepList = stepList;
    }

    public void setPlaceList(List<Integer> placeList) {
        this.placeList = placeList;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public void setRouteIndex(int routeIndex) {
        this.routeIndex = routeIndex;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
